﻿using System.ComponentModel.DataAnnotations;

namespace Modules.FaceScan
{
    /// <summary>
    /// 人脸识别源类型
    /// </summary>
    public enum FaceScanReferType
    {
        /// <summary>
        /// 登录
        /// </summary>
        [Display(Name = "登录")]
        Login = 2,

        /// <summary>
        /// 人员认证
        /// </summary>
        [Display(Name = "人员认证")]
        PersonVerification = 3,

        /// <summary>
        /// 考勤认证
        /// </summary>
        [Display(Name = "考勤认证")]
        CheckIn = 4,

        /// <summary>
        /// 劳资专管员现场核验工人
        /// </summary>
        [Display(Name = "劳资专管员现场核验工人")]
        ManagerPersonVerification = 5,

        /// <summary>
        /// APP解绑
        /// </summary>
        [Display(Name = "APP解绑")]
        AppUnbind = 7
    }

    public enum CancelFaceVerifiedType
    {
        [Display(Name = "撤销人员认证")]
        Person = 1,

        [Display(Name = "撤销企业所有人员认证")]
        Corp = 2
    }

    public enum CardReadStatus
    {
        [Display(Name = "待审核")]
        Wait = 0,

        [Display(Name = "已审核")]
        Audited = 1,

        [Display(Name = "已禁用")]
        Disable = 2
    }
}